package com.coocaa.ops.plus.core.third.magic;

import com.coocaa.ops.plus.core.third.constant.FeignClientNameConstants;
import com.coocaa.ops.plus.core.third.magic.model.PosterMergeParamsInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.net.URI;

/**
 * @author bjh
 * @description
 * @date 2020/12/22 19:48
 */
@FeignClient(name = FeignClientNameConstants.MAGIC_SERVICE)
public interface MagicFeignClient {

    @RequestMapping(value = "/poster/aiPosterMerge", method = RequestMethod.POST)
    String aiPosterMerge(URI uri, @RequestBody PosterMergeParamsInfo data);

}
